package com.ylxn.sqlSession;

import com.ylxn.pojo.Configuration;

public class DefaultSqlSessionFactory implements SqlSessionFactory {
    private Configuration configuration;

    public DefaultSqlSessionFactory(Configuration configuration) {
    }

    @Override
    public SqlSession open() {
        return new DefaultSqlSession(configuration);
    }
}
